Add section on dropping DelayedInit - #2583
Conversation
| for benchmarking! Also, if you want to access the command line arguments, | ||
| you need to use an explicit `main` method for that. | ||
|
|
||
| object Hello extends App { |
There was a problem hiding this comment.
In this example, is there any point in doing extends App?
|
See also #559 which lead to the creation |
|
#559 does not seem to be an issue anymore, at least not for simple cases where we do not access |
|
Thanks @smarter I opened scalacenter/scalafix#174 to handle the cases when |
|
We can't really remove it because it comes from scala-library, and we don't recompile scala-library currently in dotty, we use the one from 2.11.11 as-is. |
|
I see, that makes sense @smarter |
| Dotty allows this only if `T` is a class type. The change was made because | ||
| unrestricted type projection is [unsound](https://github.com/lampepfl/dotty/issues/1050). | ||
|
|
||
| The restriction rule out the [type-level encoding of compbinator |
There was a problem hiding this comment.
/s/compbinator/combinator
|
We just added the Scalafix |
No description provided.